﻿using Abp.Events.Bus.Entities;

namespace AbpProjectTemplate.Components.Events.Entities
{
    public class AppEntityChangeEntry : EntityChangeEntry
    {
        public object OriginalEntity { get; private set; }

        public AppEntityChangeEntry(object entity, EntityChangeType changeType, object originalEntity = null)
            : base(entity, changeType)
        {
            this.OriginalEntity = originalEntity;
        }
    }
}
